package com.zilue.payment.gateway.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * Created by zilue on 2017/3/31.
 */
@Target({FIELD})
@Retention(RUNTIME)
@Documented
public @interface ParameterFiledCheck {
    String regex();//匹配正则
    boolean notNull() default true;//非空
    String description() ;
}
